package me.siphone.http.api;

import androidx.annotation.NonNull;
import com.hjq.http.config.IRequestApi;

public class QueryDeviceApi implements IRequestApi {
    @NonNull
    @Override
    public String getApi() {
        return "/prod-api/device/device/deviceHomeData";
    }

    public static class Device {
        private String deviceName;
        private int onlineStatus;
        private int deviceType;
        private String deviceUid;
        private String deviceInstallationAddr;
        private String deviceOwner;

        public String getDeviceName() {
            return deviceName;
        }

        public int getOnlineStatus() {
            return onlineStatus;
        }

        public int getDeviceType() {
            return deviceType;
        }

        public String getDeviceUid() {
            return deviceUid;
        }

        public String getDeviceInstallationAddr() {
            return deviceInstallationAddr;
        }

        public String getDeviceOwner() {
            return deviceOwner;
        }
    }
}
